package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void saveWithFlavor(DishDTO dto);

    PageResult pageQuery(DishPageQueryDTO dish);

    void deleteBatch(List<Long> ids);

    void updateStatus(int status,Long id);

    List<Dish> getById(Long id);

    void update(DishDTO dto);

    List<DishVO> list(Long categoryId);
}
